package com.yang.beans.factory;

import com.yang.beans.beanclass.User;

public class FactoryBean {
    public User getUser(){
        return new User("工厂方法创建的bean");
    }

    public static User getStaticUser(){
        return new User("静态方法创建的bean");
    }
}
